﻿using System.Collections.Generic;

namespace WDA.Config
{
	/// <summary>
	/// Describes single node of WDAB environment.
	/// </summary>
	public interface IHost
	{
		/// <summary>
		/// Gets node (host) name (unique in the environment).
		/// </summary>
		string Name { get; }
		/// <summary>
		/// Gets base URL for services of this node (used to build URLs of services when not explicitly specified).
		/// </summary>
		string BaseUri { get; }
		/// <summary>
		/// Gets base URL for monitors of this node.
		/// </summary>
		string BaseMonitorUri { get; }
		/// <summary>
		/// Gets management service URL.
		/// </summary>
		string ManagementUri { get; }
		/// <summary>
		/// Gets collection of definitions of services hosted in this node.
		/// </summary>
		IEnumerable<IService> Services { get; }
	}
}
